-- GENERATED SPELL FOR [Ahune] --


function spell0_25740(pUnit, Event) --@Ahune\'s Shield,Self--
pUnit:FullCastSpellOnTarget(45954,pUnit)
pUnit:RegisterEvent('Sorts_25740', 0, 1)
end

function Sorts_25740(pUnit, Event)
local choix_sorts_25740 = math.random(0, 0)
if choix_sorts_25740 == 0 then
pUnit:RegisterEvent('spell0_25740', 1, 1)
end
end

function mob25740_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25740', math.random(1500, 3000), 1)
end

function mob25740_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25740_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25740_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25740, 1, 'mob25740_Action')
RegisterUnitEvent(25740, 2, 'mob25740_Leave')
RegisterUnitEvent(25740, 3, 'mob25740_Kill')
RegisterUnitEvent(25740, 4, 'mob25740_Die')
